package com.jydd.singlekotlinmvvm.comm.model.response

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey
import com.google.gson.annotations.SerializedName

/**
 * created by 韦敏敏
 * on 2020/1/21
 */
@Entity(tableName = "tb_user")
data class UserInfo(
    @PrimaryKey
    val id : String,
    @ColumnInfo(name = "avatar_url")
    @SerializedName("avatar_url")
    val avatarUrl : String,
    @SerializedName("login")
    val nickName : String,
    @SerializedName("public_repos")
    val repoNum : Int
)